package com.caojing.syby.ui.tenbuy.tenbuysharefragment;

import com.caojing.syby.base.IBaseModel;
import com.caojing.syby.base.IBasePresenter;
import com.caojing.syby.base.IBaseView;
import com.caojing.syby.bean.home.RowsBean;
import com.caojing.syby.bean.tenbuy.ShareGvBean;

import java.util.List;
import java.util.Map;

import retrofit2.Callback;

/**
 * Created by Administrator on 2016/10/6 0006.
 * 这里主要是第一个页面页面的数据加载——这里都是接口
 */
public class TenbuyShareConstrct {
    public interface View extends IBaseView{
         void onGetVerticalSucess(List<RowsBean>rowsBeanList);
         void onGetVerticalFail(String erro);
    }

    public interface Modle extends IBaseModel{
        void getVertical(Map<String,String>params, Callback<ShareGvBean>callback);
    }

    public interface Presenter extends IBasePresenter{
        void getVertical(Map<String,String>params);
    }

}
